home *** CD-ROM | disk | FTP | other *** search
- ******************************
- MIDIFIND v1.2
-
- search words in midi files
- by Guenter Nagler
- 1995
- (gnagler@ihm.tu-graz.ac.at)
- ******************************
-
- [1] BACKGROUND
- When using my utility MIDI2TXT you get full textual representation
- of a midi file. So someone can read the comments in a midi file
- with this program. I were often interested in finding out who has
- written a very good midi to thank the person who sequenced it.
- Then I was interested in finding out if one of other midi files
- was written by the same author. MIDI2TXT was too slow to do this
- searching because of overhead of notes that are converted into text
- format. This led me to program MIDIFIND that I can search in the text/lyric
- of midi files.
-
- [2] FILES DESCRIPTION
-
- MIDIFIND.EXE..........MSDOS executable for midi search
- MIDIFIND.DOC..........this file, showing usage of MIDIFIND.EXE
- MIDIFIND.CPP..........C++ source code for midifind (DOS/UNIX)
- only MIDIFIND.EXE is required to run program
-
- [3] COPYRIGHT
-
- MIDIFIND (c) 1995 was created by Guenter Nagler.
-
- MIDIFIND is free and may be used as you wish with this one exception:
-
- You may NOT charge any fee or derive any profit for distribution
- of MIDIFIND. Thus, you may NOT sell or bundle MIDIFIND with any
- product in a retail environment (shareware disk distribution, CD-ROM,
- etc.) without permission of the author.
-
- You may give MIDIFIND to your friends, upload it to a BBS, or ftp it to
- another internet site, as long as you don't charge anything for it.
-
- [4] DISCLAIMER
-
- MIDIFIND was designed to search text in standard midifiles.
- It searches for midi meta events that contain text only.
-
- Use MIDIFIND at your own risk. Anything you do with MIDIFIND is your
- responsibility, and not the author's. Any damage caused to any person,
- computer, software, hardware, company, or business by running MIDIFIND
- is your responsibility, and the author will not be liable.
-
- If you don't understand these terms, or are not sure of something, or
- are afraid something bad might come of using MIDIFIND, don't use it!
- You are here forewarned.
-
- [5] INSTALLATION
-
- [MSDOS]
-
- Simply copy MIDIFIND.EXE in a directory that is in your path.
- When you start the program without arguments
-
- C:\> MIDIFIND
-
- you should get the usage text (see next section)
-
- [UNIX]
- compile sources with your C++ compiler (e.g. GNU Compiler g++):
-
- g++ -o midifind midifind.cpp
-
- and run program
-
- $ midifind
-
- [6] USAGE
-
- usage: MIDIFIND search [file.mid ...]
-
- search is the word or simple regular expression (*, ?, # as wildcard)
- that should be searched in following file names.
-
- wildcards for search:
- * matches 0 or more characters
- ? matches exactly one character
- # matches exactly one digit 0-9
-
- UNIX: These characters are used by system and therefore you need
- to escape them (use 'run*train' or run\*train )!
-
- search is caseinsensitive (upper letters are treated as lower letters).
-
- Filenames can contain wildcards (DOS: * and ?,
- UNIX: system wildcards *, ?, [...] etc).
- If no filename is specified then *.mid is assumed (only in dos systems).
-
- [7] OUTPUT MESSAGES
-
- When the search expression is not found in any of the midi files then
- MIDIFIND stops without an output message.
-
- Otherwise MIDIFIND writes following messages:
- filename.mid: text that contains the searched word or phrase
-
- [8] SUGGESTIONS / COMMENTS / BUG REPORTS / QUESTIONS
-
- WWW: http://hgiicm.tu-graz.ac.at/Cpub
- contains all my dos/unix midi programs
- EMAIL: gnagler@ihm.tu-graz.ac.at
-
- [9] EXAMPLES
-
- get all textual information of a midi file sample.mid:
-
- command> midifind * sample.mid
- sample.mid: B Voice
- sample.mid: B high
- sample.mid: B bass
- sample.mid: B Drums
-
- find copyrights in all midi files:
-
- command> midifind copyright *.mid
- filename.mid: Copyright 1993 by ...
-
- and
-
- command> midifind (c) *.mid
- filename.mid: (c) 1993 by ...
-
- find what great midi files are by M. Walthius:
- command> midifind M*Walthius
- ECHOES1.MID: by M. Walthius
- DREAMING.MID: Copyright 1995 by Michael Walthius
- DREAMING.MID: by M. Walthius
- GATEDOOM.MID: Copyright 1995 by Michael Walthius, all rights reserved.
- GATEDOOM.MID: by M. Walthius
- CYBRBEAT.MID: by M. Walthius
- DRKSHORE.MID: "Incident at Dark Shores" Copyright 1995 by M. Walthius, All Rights Reserved.
- DRKSHORE.MID: M. Walthius.
- TRAVELS.MID: Composed by M. Walthius
- TRAVELS.MID: by M. Walthius
- FNKNGRVN.MID: FUNKENGRUVEN by M. Walthius
-
- [10] CHANGES
- v1.0 to v1.1:
- * bug when using wildcards and path (produced random filename that cannot be found)
- * hiding trivial names like instrument names
-
- v1.1 to v1.2:
- * long filename support for DOS 7.0/Windows95
-